package com.api.volunteer.service;

import com.api.volunteer.model.MessageRecord;
import com.api.volunteer.model.VolunteerActivities;

import java.util.List;

/**
 * @author 邹宇杰
 * @email 2901570623@qq.com
 * @date 2022/4/1 12:08
 */
public interface VolunteerActivitesService {

    void save(VolunteerActivities volunteerActivities);

    void joinVolunteer(String openid, String volunteerId);

    List<VolunteerActivities> list();

    VolunteerActivities getVolunteerActivities(String volunteerId);

    List<MessageRecord> listMessage(String volunteerId, String openid, String toOpenid);

    void saveMessageRecord(String volunteerId, String openid, String toOpenid, String message);
}
